package com.fortune.dto.in.dealaerProduce;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

public class DiscountDto {
	@NotBlank(message="厂商ID不能为空")
	@ApiModelProperty(required=true, example="厂商ID")
	private String mid;
	@NotBlank(message="商品ID不能为空")
	@ApiModelProperty(required=true, example="商品ID")
	private String mpid;

	public String getMid() {
		return mid;
	}

	public void setMid(String mid) {
		this.mid = mid;
	}

	public String getMpid() {
		return mpid;
	}

	public void setMpid(String mpid) {
		this.mpid = mpid;
	}

	@Override
	public String toString() {
		return "DiscountDto{" +
				"mid='" + mid + '\'' +
				", mpid='" + mpid + '\'' +
				'}';
	}
}
